Skip to content

Conversation

@lorisleiva
Copy link
Member

@lorisleiva lorisleiva commented Nov 4, 2024

This PR adds an options objects to most core visitors (or refactors optional arguments into an options objects).

Within this options object, it offers the ability for any visitor that uses a NodeStack to use the provided one instead of a brand new one. This enables visitors to call others visitors during their traversal whilst all sharing the same NodeStack and not losing track of where we are in the tree.

@changeset-bot
Copy link

changeset-bot bot commented Nov 4, 2024

🦋 Changeset detected

Latest commit: 1e753a8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages
Name Type
@codama/visitors-core Minor
@codama/visitors Minor
@codama/renderers-core Patch
@codama/renderers-js-umi Patch
@codama/renderers-js Patch
@codama/renderers-rust Patch
@codama/validators Minor
codama Minor
@codama/nodes-from-anchor Patch
@codama/renderers Patch
@codama/errors Minor
@codama/node-types Minor
@codama/nodes Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@lorisleiva lorisleiva force-pushed the loris/fix-link-node-path-for-type-manifest-visitors branch from 57fc24c to c5bb297 Compare November 4, 2024 11:12
@lorisleiva lorisleiva force-pushed the loris/allow-nesting-stacks branch from 4bda806 to 2cb9364 Compare November 4, 2024 11:12
@lorisleiva lorisleiva mentioned this pull request Nov 4, 2024
@lorisleiva lorisleiva marked this pull request as ready for review November 4, 2024 12:21
Copy link
Member Author

lorisleiva commented Nov 4, 2024

Merge activity

  • Nov 4, 8:46 AM EST: A user started a stack merge that includes this pull request via Graphite.
  • Nov 4, 9:18 AM EST: Graphite rebased this pull request as part of a merge.
  • Nov 4, 9:19 AM EST: A user merged this pull request with Graphite.

@lorisleiva lorisleiva changed the base branch from loris/fix-link-node-path-for-type-manifest-visitors to graphite-base/285 November 4, 2024 14:14
@lorisleiva lorisleiva changed the base branch from graphite-base/285 to main November 4, 2024 14:16
@lorisleiva lorisleiva force-pushed the loris/allow-nesting-stacks branch from 2cb9364 to 1e753a8 Compare November 4, 2024 14:17
@lorisleiva lorisleiva merged commit ce4936c into main Nov 4, 2024
2 checks passed
@lorisleiva lorisleiva deleted the loris/allow-nesting-stacks branch November 4, 2024 14:19
@github-actions github-actions bot mentioned this pull request Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants